import { $t } from "@/plugins/i18n";

const Layout = () => import("@/layout/index.vue");
// 最简代码，也就是这些字段必须有
export default {
  path: "/rim",
  redirect: "/rim/index",
  component: Layout,
  meta: {
    title: "周边产品管理",
    rank: 7,
    icon: "ant-design:shopping-cart-outlined"
  },
  children: [
    {
      path: "/rim/classify",
      name: "RimClassify",
      component: () => import("@/views/rim/classify.vue"),
      showParent: true,
      meta: {
        title: "分类管理",
        showLink: true
      }
    },
    {
      path: "/rim/goods",
      name: "Rim",
      component: () => import("@/views/rim/goods.vue"),
      showParent: true,
      meta: {
        title: "周边商品",
        showLink: true
      }
    }
  ]
};
